<template>
  <router-view />
</template>

<script setup>
// import { useRouter } from 'vue-router'
// const mRouter = useRouter()
// function jump() {
//   console.log('aaa', mRouter)
//   mRouter.push('/main')
// }
</script>

<script>
export default {
  name: 'App',
  components: {
  },
  /*数据源 状态管理*/
  data(){
    return {

    }
  },
  /*自定义方法均在此对象里*/
  methods:{
  }
}
</script>

<style>
/*app全局通用*/
  :root, body, #app {
    width: 100%;
    height: 100%;
    margin: 0;
    /*全局变量写法*/
    --bk-color: red;
  }

  #app {
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #2c3e50;
  }


</style>
